Finding Low-Energy Homopolymer Conformations by a Discrete Approach