added obstacle drawing and moving