blog, video 28, Creating functions within our database class

created function inside database class and added comments