Fix move function (homework, star)