Java 2 lab 2

File io lab and lab 1 also