Merge pull request #1 from smaret/data-structures

Data structures
Use of typedef struct instead of struct alone to clarify code
Merge pull request #8 from mwestphal/data-structures

Use of typedef struct instead of struct alone