first commit. rank and suit functions defined.