added option to read from file instead of console

you can now run the program with first argument "file" and second
argument <filename>. So for example:

file drie.txt <-- file needs to be in the same directory as the
executable
file d:\temp\gridtoestanden\drie.txt
check taboolist for grid states

check taboo list when adding new grid states. Don't add them if they're
in the list.