Modified createModule() for AND and OR, configureInputOutput() and pipeAttach(), added determineNumOfInputPin() and determineNumOfOutputPin(), added several tests