added getMonth function
added new getters and print function