Workaround on the basics of algorithms in Convex optimisation. For testing the algorithms mnist database was used.