Convert a hand-drawn map into python matrix