setup commandline reading for cs457 hw