a number guessing game in Elixir