added readme and fixed loophole where sometimes rightmiss < rightcann