basic practice to swift language