add pycharme filder to gitignore
add a ringuffer implementation