Add solutions to 0005,0006

Add solutions to 0005,0006