Added file io abilities

Just the basics. More to come later but I thought I'd pull request before I get so far behind that things get complicated. The file io is working now, with the methods getNextLine() getNext() and hasNext() besides the constructor file() which takes a string.