Completed

Completed and writes to output.txt
still need to figure out how to compile on omega.uta.edu server