Completed obstacle generation

The necessary functions to generate objects have been implemented. Art
will have to be changed.