project for studies about scala's inheritance