Create JavaLog Ouput

reads from the txt parses the txt file and calculates the inputs with Gates and finally prints the result