WARNING: the game doesn't work anymore! I started changing the inputs:
it now takes in pairs from the user.