Hello and welcome to the challenge!
Write a function which converts names to its initials. The function should receive a string with forename and surname separated with spaces and it should return first letters of these names separated with a single dot.
Adam Smith -> A.S
John Black -> J.B
Have fun and good luck! :)