added input parsing
fixed input parsing, added execvp to work