completed OOP section of ruby book