Add #92 solutions in C and Ruby