completed ruby solution
working solutions for 26