I'm 100% sure that was a virus.
Download Malwarebytes' AntiMalware.
|MG| Malwarebytes Anti-Malware 188.8.131.520 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.