Oscillating cylinder engine