A small project to show difference of composition and inheritance