Update main.cpp

- Introduced atomic operation, the algorithm become much faster
- Accepts lowercase targets
- Supports CL_DEVICE_ACCELERATOR devices
Merge pull request #1 from pjb7687/patch-1

Update main.cpp