def pad(s):
	"""Take in a binary string and pad it to make it 5 bits long"""
	last = len(s)
	##get rid of "0b" notation
	s = s[2: last]
	## if it's less than 5 digits
	if len(s) < 5:
		##make a string to hold the zeros
		c = ""
		for i in range(5 - len(s)):
			c = c + "0"
		s = c + s
	return s