Read GPS data and extract the altitude info.
Convert to a pulse width that corresponds to the servo angle.
Connect an I2C EEPROM to the Atmega I2C pins and write the data out.
Each of these are separate tasks that you couple together in code. Tackle and learn how to each separately first then code them together.
There are lots of examples of each so do some more searching and reading.