Added a sample to show how singleton expansions works
Added more documentation
Documenting singleton expansion