threes.cpp now more organised, command line arguments clearer