add ruby solution for problem 1
add nimrod solution for problem 1