splitting Ruby part of interview_problems