Cleaned up the simple_object program. Also added a macro to help calculate number of member items in an array.