Implemented all major functions, monte carlo algorithm produces percentage output