A study of two-dimensional flow past an oscillating cylinder