Added functionality for message passing between base game entities

We can now pass messages from one entity to another. Added a function to
handle the messages.
Also, changed u32's and s32's to int to keep it consistent.
TODO: Change int's to u32 to s32 so that it is more readable and
consistent.