I'm 100% sure that was a virus.
Download Malwarebytes' AntiMalware.
|MG| Malwarebytes Anti-Malware 18.104.22.1680 Download
After you installed it, perform a full scan. After that, click Show Results and check everything and Remove.
Check this thread for better step by step guide.
If you still have the virus, just reply back.