solutions to ruby fundamentals 2