resolved bugs function database.py
Merge pull request #11 from giovannipelosi/master

resolved bugs function database.py
add db.py simo
ok database
resolve conflict
merged