General ruby and data structures practice