Preliminary model

The output is very shabby. Moreover, the time taken to print all the
output text is killing the efficiency.
Will be working towards a better solution.