Coding Challenge 186: Wave Function Collapse