removed redundancies and worked on main loops
added Main Loop
added mersenne twister