Add an input parameter for maximum generation runtime. If a generation takes longer than that time, kill the whole simulation