added northeast diagonal in getScore funtion