Changed <List<List>> of errors to hashtable in GD algorithm for easier
readability. Added print method to layer for debugging.