Assignment 1, three card match mode and other functionality added