Added equals function to shell