Initial scanning test

scans a line, gets rid of the whitespace at the beginning and prints the
output in a file called output.txt
Added Enum class kind. Not exactly sure how to use this.