Attempted to add actual cube simulation, SEGFAULT! Yay! Time to go attempting to fix all my pointers