Adding learningswitch to samples

Change-Id: I4ce61561d83fc342662519343137e57c707e4927
Signed-off-by: Anirudh Ramachandran <anirudhvr@gmail.com>