Understanding how the code works but not being able to write it by myself – Reddit gives a helping hand