Morning Interview Question

Fix function that uses Luhn algorithm, refactor it and add functionality