Two masses m1 and m2 are connected through a rigid masses rod of length a and are free to rotate in three dimensions about their (fixed) center of mass. the hamiltonian of the system is