Used LINQ to calculate the different hand types.