first git commit partially working reward discount with single sequence encoding layer