Create Scan.java

Class Scan:
The constructor takes a string of the path of the file.
Function scanning return the final 3D grid.
Function printGrid prints the grid (for testing purposes)