added placeCube and takeCube functionality. added distance sensor getter