Solutions to wildcard programming challenge