add Frontier based on random choice as sample code to examples/ folder - FIX IT: i should rename the examples folder to samples