background execution working. cd producing error if dir not found. changed do-while loop in main to while loop (do-while was unecessary). changed loop condition on true. loop will exit upon seeing 'exit' or 'quit' in command