Updated AntBrain

Changed methods to add input lines to memory, hence making the program faster.