Began code for catapult prototype