error recognition v1

proposition for error recognition
not important
Merge branch 'master' of https://github.com/SirWojtek/ProjectCUDA