code now also creates a simple struct and shuffles some data around in it. Also using the _allocate & _free stuff.