[+] initial solution of the 2nd assignment