Updated main.c added file reading.

started the file opening function and prototyped a testing scnareo.