Added Leg class header file, added methods to both.