exercises from Beginning Ruby by Peter Cooper, Apress