unique paths when facing some obstacles