my solutions to exercise from rally