An algorithm to explore entanglement in small systems - Robin Reuvers (2017)