Create Parser.java

Parses the txt file for logic inputs and Gates