start of hw3
catching exceptions
collinear input files