fixed main(), digit(), compere() and made getguess to accept (ignore) spaces. still needs some more checks.