Made buf in parse_simple_command dynamic, fixed bug with parse_simple_command not advancing given pointer