Cleaned up, commented parseInput. Added to dictionaries