create twoBody class which define the basic parameters of two stars in a
binary system