ctf3: ctf solution for level2

Signed-off-by: Rohit Yadav <bhaisaab@baagi.org>