Adding support to default integer return values

Implementing issue #95, for now adding support only for integers. If i is ok we can move on to other data types.
Spaces used here