My code for Intro it Java