Implement process.cwd() method