Finally compiles!

changed typedef struct nes to nes_struct. probably going to remove read_mem and replace it with dedicated read functions for each section. also need to update macros for later