this is the pattern table.this is the fucking algorithm https://www.youtube.com/watch?v=y2b94AxPlF8 that's the good explaination