created class and passed in a string when intialized
Logger receives string when log method is called
returns all logs after log method has been called five times