added advanced assignment to file

add features to pull query appointment book for given date, date range and month.