#54 Added exit function to os namespace

Fixed #54