Implemented Consume function

Need to check styling guide and remove any random cout statements and
change wording and do a bit more testing.