Flash card iOS app using swift