conbined two "for loops" into one
lowered y-axis
shifted x-axis downward so that it looks better