Code for the Playment Developer Hire Challenge
$> <Starting your application...>
$> pwd
PATH: /
$> cd /some/random/path/which/doesn’t/exist
ERR: INVALID PATH
$> mkdir dir1 dir2
SUCC: CREATED
$> mkdir dir1
ERR: DIRECTORY ALREADY EXISTS
$> ls
DIRS: dir1 dir2
$> cd dir1
SUCC: REACHED
$> pwd
PATH: /dir1
$> cd /
SUCC: REACHED
$> rm /dir1
SUCC: DELETED
$> cd /dir1
ERR: INVALID PATH
$> mkdir /dir3
SUCC: CREATED
$> cd /dir2
SUCC: REACHED
$> pwd
PATH: /dir2
$> session clear
SUCC: CLEARED: RESET TO ROOT
$> pwd
PATH: /
$> asdf asdf
ERR: CANNOT RECOGNIZE INPUT.