testing out my codewars soln