Completed Solution

Completed solution to the ruby test