finished python implementation (maybe still some bugs) and created file to start Arduino implementation next time