poolsPoints :: [Int]
-> Results -> IntpoolsPoints [] [] = 0
poolsPoints [] _ = 0
poolsPoints _ [] = 0
poolsPoints (x:xs) ((a,b,c,d,e):t)
| (x == a && c>d) = 1 + poolsPoints xs t
| (x == a && c<d) = 1 + poolsPoints xs t
| (x == a && c==0 && d==0) = 2 + poolsPoints xs t
| (x == a && c==d && c>0) = 3 + poolsPoints xs t
| otherwise = 0 + poolsPoints [x] t