maxSteps parameter check fixed, makefile added