Added example from scartch for ANN training