Added input file and capacity to generate it.
Updated to output correctly.
Compiles. Time to debug