Made the initialisation work. Random seed needs work