clear() method: clearing the console output