1. (6,3)Linear Code
Generator matrix:
[1 0 0 1 0 1]
[0 1 0 1 1 0]
[0 0 1 0 1 1]
parity check matrix:
[1 1 0 1 0 0]
[0 1 1 0 1 0]
[1 0 1 0 0 1]

mapping:
000 -> 000000
001 -> 001011
010 -> 010110
011 -> 011101
100 -> 100101
101 -> 101110
110 -> 110011
111 -> 111000
waterfall plot minimum Hamming distance dmin = 3
Hamming sphere radius t = [(dmin-1)/2] = 1
therefore, it's capable of correcting single-error
Hamming bound 1 + 6 < 2^(6-3)=8; so it's not a perfect code.
is it a Hamming code?
2. Quine
python quine
a='a=%s;print a%%`a`';print a%`a`
edit