First commit. Working with console input. File input to follow.