First attempt at summary generation (See Test.java for usage)