Added keyboard controls to pause simulation