Added a sample program about how session works.