(My solutions to) Learning Ruby the Hard Way