Added MAX_NUM_FRIENDS define.

TODO: Dynamic arrays so number of friends isn't limited to 256.