Added scan function.
Fixed the moveForward function of the Tank.