Java Version of CS50's Mario pyramid pset