create a function to show source code of the given method