Added logic1 solutions

Added logic1 python solutions