A generalized geometric distribution and some of its properties