fixed error in checking for draws
added game flow to 'main.rb'