Added tank accessor functions and fixed bugs in movement.