implement print agenda function
Semi Stable Version