Moving algorithm fixed. (the turns worked not correctly)
Deleted unnecessary variables
Renamed "setter" to "neednewApple"