Complexity and the Arrow of Time