Add diagonal-masks to movegen.
Remove main method from movegen