Critical path method - Help ?

Helo everyvody.

This is my home task:

Activity / Preceding activities
G -
M -
I M
L M
B MI
D IM
H L
K I
A DB
C LI
F KH
J LB
E HKA

I need to solve project network diagram. By now i have watched many different youtube tutorials about creating network diagrams. Unfortunately, these "youtube and forum" examples are too simple and my home work is level 99.

Closed circles and dead ends are not allowed:

And this is my best result so far:

There are so many opened paths which lead nowhere. Any help would be appreciated.

AttachmentSize
Image icon Not allowed43.8 KB
Image icon My best result so far?387.52 KB