Finished implementation of scanner

-Scanner implemented
-Now working on testing