Toward Cognitive Navigation: Design and Implementation of a Biologically Inspired Head Direction Cell Network