add test codes
refine printing format
continue refine printing format
continue refine printing format
add getCatogoryFromTotalCards method