matlabColon function

Simulate Matlab's ':'