Implementation of the D8 algorithm, a lake identification and flow algorithm with python and matplotlib