Applying backpropagation to shape
recognition