added solution for interview tests for later practice