Tidying

Changed variables from static, wasn't compiling. numberOFFields being
read is still 0, have to look into that.
BAsh

Bash script used to compile program. Courtesy of Michael.