Protoype2

1. Produce two files: one log file and a set of algorithmic orders as
mentioned by the specification
2. Address the issues raised with prototype 1