implementing modules for neural network

Signed-off-by: MEHRANI ARDALAN <3402426@ari-31-313-03.infop6.jussieu.fr>