Added sample code for check SINGLETON and PROTOTYPE scope in Spring

Signed-off-by: madhusmita <madhusmitap@mindfiresolutions.com>