Added a basic obstacle implementation.