Some basic/common problems and their solutions in Ruby.