Pattern Discovery and Listing in Graphs