genericized triangle creation
added mouse movement
added obstacle and door drawing