rakefiles and solve problem 1