Commit for write up - nearly all code done!