Solved exercises from Ruby books and courses.