Code Examples created while learning java