Add #55 solutions in C, Python, and Ruby