Sample code- still in progress

Working on major functionalities,
working on getting data from sub documents in Array from the main
documents and comparing them.