Added serial code and skeleton for latex