Start fresh for problem 4 (ruby)