practice advanced ruby problems