Created Leg class to hold leg information, instead of having it in
a formatted list.