PR: 126801 Submitted by: Ports Fury
algorithm suitable for tile-based games such as roguelikes. Submitted by: aaron Approved by: tobez