Implementation of Pioneer algorithm for Raspberry PI