added which() method
fixed
added whereis() method and fixed which() method
fixed methods