Simple graphics engine which will be writing for learn purposes