Code snippets for CIS 111 Into to Java