Fixed mem read error with variable initialization
Added typedef nth_slot_s
Added typedef nth_program_s
Added typedef nth_variable_s