Add ruby solution for problem 003