added test cases and separated Argument builder from grep main class