practice implementations of various recursions in ruby