All coded, but needs debugging

All coded for simple use case, but not working.