Development of a Computer Simulation Tool to Study the Attitude Determination and Control of CubeSats