Added row scoring function
Added verticle row scoring function