added some code to draw obstacles, probably doesnt work yet