added PWD command
added checking for absolute path from relative path