Problem 1: write a function to get the value from an array in such a way that the keys are sparated by a dot.
function array_take($array, $keymap) {
# your code goes here...
}
$person = [
'name' => [
'firstname' => 'Raj',
'lastname' => 'Ankur'
],