How to store values recieved onto the arduino?

The Arduino's built-in EEPROM library can only handle small values. You might want to look at this extended library to make storing anything larger than a nibble easier:

http://www.arduino.cc/playground/Code/EEPROMWriteAnything