Reformatting and new features

Created methods 'checkSaved()' and 'show'
Introduce JUnit