Euler's theorem on homogeneous functions