Merged changes from Andrew which implement comparison operators, added alphabetic report, made gains report work the correct way, fixed up errors. Program is more or less complete now.