added rakefile and added functionality for a draw. Ready for submission but it doesn't look pretty